package com.tiejun.ge.mvc.entity.po;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tiejun.ge.mvc.entity.bo.SystemConfigBO;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: springboot
 * @description: 系统配置PO
 * @author: getiejun
 * @create: 2025-08-23 21:39
 **/
@Data
@NoArgsConstructor
@TableName(value = "tb_system_config")
public class SystemConfigPO {

    private Long id;

    private String item;

    private String value;

    public SystemConfigBO toBO(){
        return BeanUtil.copyProperties(this, SystemConfigBO.class);
    }

    public SystemConfigPO(SystemConfigBO systemConfigBO) {
        BeanUtil.copyProperties(systemConfigBO, this);
    }
}
